package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile      string `gorm:"type:char(11);not null;comment:手机号"`
	Password    string `gorm:"type:char(32);comment:密码"`
	HeaderImage string `gorm:"type:varchar(300);comment:头像"`
	Sex         string `gorm:"type:char(1);comment:性别"`
	Info        string `gorm:"type:varchar(20);comment:介绍"`
	NickName    string `gorm:"type:varchar(20);comment:昵称"`
	Address     string `gorm:"type:varchar(50);comment:所在地址"`
	Career      string `gorm:"type:varchar(20);comment:职业经历"`
	Education   string `gorm:"type:varchar(20);comment:教育经历"`
}
